#[cfg(any(target_vendor = "apple"))]
#[allow(dead_code)]
#[path = "coretext/mod.rs"]
mod coretext;

#[cfg(any(target_family = "windows", feature = "dev"))]
#[allow(dead_code)]
#[path = "dwrite/mod.rs"]
mod dwrite;

#[cfg(any(target_os = "android", feature = "dev"))]
#[allow(dead_code)]
#[path = "android/mod.rs"]
mod android;

#[cfg(any(target_os = "linux", feature = "dev"))]
#[allow(dead_code)]
#[path = "fontconfig/mod.rs"]
mod fontconfig;

#[allow(dead_code)]
#[path = "empty.rs"]
mod empty;

#[cfg(target_vendor = "apple")]
pub use coretext::XFont;

#[cfg(target_family = "windows")]
pub use dwrite::XFont;

#[cfg(target_os = "android")]
pub use android::XFont;

#[cfg(target_os = "linux")]
pub use fontconfig::XFont;

#[cfg(not(any(target_vendor = "apple", target_family = "windows", target_os = "android", target_os = "linux")))]
pub use empty::XFont;
